package com.bootdo.common.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.common.dao.CameraLogDao;
import com.bootdo.common.domain.CameraLogDO;
import com.bootdo.common.service.CameraLogService;



@Service
public class CameraLogServiceImpl implements CameraLogService {
	@Autowired
	private CameraLogDao cameraLogDao;
	
	@Override
	public CameraLogDO get(Integer id){
		return cameraLogDao.get(id);
	}
	
	@Override
	public List<CameraLogDO> list(Map<String, Object> map){
		return cameraLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return cameraLogDao.count(map);
	}
	
	@Override
	public int save(CameraLogDO cameraLog){
		return cameraLogDao.save(cameraLog);
	}
	
	@Override
	public int update(CameraLogDO cameraLog){
		return cameraLogDao.update(cameraLog);
	}
	
	@Override
	public int remove(Integer id){
		return cameraLogDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return cameraLogDao.batchRemove(ids);
	}
	
}
